import com.github.pagehelper.PageInfo;
import com.guigu.ssm.mapper.AccountMapper;
import com.guigu.ssm.pojo.Account;
import com.guigu.ssm.pojo.PageVo;
import com.guigu.ssm.pojo.Shoop;
import com.guigu.ssm.service.ShoopService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class tt {
    public static void main(String[] args) {
      ApplicationContext context = new ClassPathXmlApplicationContext("applicationCotext.xml");
        ShoopService bean = context.getBean(ShoopService.class);
        PageVo<Shoop> all = bean.findAll(1, 2, "", 2);
        System.out.println(all);
    }
}
